package com.iot08.common.entity.app;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.io.Serializable;
import java.util.Date;

/**
 * @version 1.0
 * @Description: 血氧记录
 * @author: Rock
 * @time: 2021/3/8 18:20
 */
@Data
@Document("blood_oxygen_record")
public class BloodOxygenRecord implements Serializable {
    private static final long serialVersionUID = 1L;

    @Id
    private String id;

    @Field("i")
    private String imei;

    //当前最新值 eg: 70/100 (收缩压/舒张压)
    private String value;

    private Long dateTime;

    private String upDayStr;

    private Date expiryAt;

}
